#pragma once
#include <iostream>
#include "worker.h"
using namespace std;

class WorkManager {
public:
	WorkManager();
	~WorkManager();
	int m_EmpNum;
	Worker** m_EmpArray;
	bool m_fileEmpty;
	void clearAll();
	void soft(); 
	void softByUp();
	void softByDown();
	void findEmp();
	void updateEmp();
	void delEmp();
	int empIsExist(int id);
	void showEmp();
	void initEmp();
	int getFileEmpNum();
	void save();
	void load();
	void addEmp();
	void showMenu();
	void exitSystm();
};